package com.sky.service.user.impl;

import com.sky.mapper.user.ShopMapper;
import com.sky.pojo.Merchant;
import com.sky.service.user.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ShopServiceImpl implements ShopService {

    @Autowired
    private ShopMapper shopMapper;

    //获取商家信息
    @Override
    public Merchant getMerchantInfo(Long id) {

        Merchant merchantInfo = shopMapper.getMerchantInfo(id);

        return merchantInfo;
    }
}
